package com.ehi.alliance.dao;

import com.ehi.common.domain.alliance.AllianceInfo;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;

@DirtiesContext
@ContextConfiguration(locations = {"/test-spring.xml"})
public class AllianceDaoIntTest extends AbstractTransactionalJUnit4SpringContextTests {

    @Autowired
    private AllianceDao allianceDao;

    @Test
    public void testGetByAllianceId() {
        AllianceInfo allianceInfo = allianceDao.getByAllianceId("Gro21010");
        //Assert.assertEquals("Group Health", allianceInfo.getPartnerName());
    }
}
